package cn.blbsz.shop.domain.s;

import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.RepositoryDefinition;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.data.rest.core.annotation.RestResource;

import java.util.List;

/**
 * Created by yipingdong on 2017/4/16.
 */
@RepositoryRestResource(path = "province", itemResourceRel = "province", collectionResourceRel = "provinces")
public interface ProvinceRepository extends CrudRepository<ProvinceEntity, Integer>{

}
